package org.jeecg.modules.door.vo;

import java.util.List;
import org.jeecg.modules.door.entity.LwgyDoorGroupright;
import org.jeecg.modules.door.entity.LwgyJointDoor;
import org.jeecg.modules.door.entity.LwgyDoorGrouppassword;
import org.jeecg.modules.door.entity.LwgyDoorGroupcard;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 分组管理
 * @Author: jeecg-boot
 * @Date:   2023-08-14
 * @Version: V1.0
 */
@Data
@ApiModel(value="lwgy_door_grouprightPage对象", description="分组管理")
public class LwgyDoorGrouprightPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**分组名称*/
	@Excel(name = "分组名称", width = 15)
	@ApiModelProperty(value = "分组名称")
	private String groupName;
	/**控制类型*/
	@Excel(name = "控制类型", width = 15, dicCode = "eglock_type")
    @Dict(dicCode = "eglock_type")
	@ApiModelProperty(value = "控制类型")
	private String doorType;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private String remark;

	@ExcelCollection(name="门锁管理")
	@ApiModelProperty(value = "门锁管理")
	private List<LwgyJointDoor> lwgyJointDoorList;
	@ExcelCollection(name="分组密码管理")
	@ApiModelProperty(value = "分组密码管理")
	private List<LwgyDoorGrouppassword> lwgyDoorGrouppasswordList;
	@ExcelCollection(name="分组卡管理")
	@ApiModelProperty(value = "分组卡管理")
	private List<LwgyDoorGroupcard> lwgyDoorGroupcardList;

}
